

<div class="email-box">
    <div class="email-topImg"><img width="100px" height="100px" src="img/mail-corr.png" /></div>
    <p class="register-right-text" style="margin-top:8px;">恭喜您，注册成功！</p>
    <p><span class="register-right-return">5</span>秒后自动跳转首页</p>
    <button class="btn btn-primary btn-bg email-go-verification mgb mt">立即登录</button>
</div>
<script>
  /*设置屏幕高度*/
  (function () {
    setHeight();
    function setHeight() {
      var height = $(window).height()-200 + 'px';
      $(".email-box").css("height",height);
    };
    $(window).resize(function() {
      setHeight();
    });
  }())
</script>
